import { Component, OnInit } from '@angular/core';
import { TeacherComponent } from './teacher/teacher.component';
import { ClassComponent } from './class/class.component';
import { StudentComponent } from './student/student.component';
import {ActivatedRoute} from "@angular/router";

@Component({
  selector: 'app-educational',
  templateUrl: './educational.component.html',
    styles  : [ `
    :host ::ng-deep .vertical-center-modal {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    :host ::ng-deep .vertical-center-modal .ant-modal {
        top: 0;
    }
    ` ]
})
export class EducationalComponent implements OnInit {
    constructor(private route:ActivatedRoute) { }
    tabIndex=1
    ngOnInit() {
        // this.route.queryParams.subscribe(res=>{
        //
        //     if(res['tab']){
        //         alert(res['tab'])
        //         this.tabIndex=res['tab']
        //     }
        // })
    }
}
